package com.haste.controller;

import com.haste.service.impl.ImsgProviderImpl;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class SendMsgController {
    @Resource
    private ImsgProviderImpl imsgProvider;
    @GetMapping("/sendMsg")
    public String sendMsg(){
        return imsgProvider.send();
    }
}
